package domain

var (
	Normal  = Status{"正常"}
	Deleted = Status{"删除"}
)

type Status struct {
	description string
}

func NewStatusFromString(desc string) Status {
	return Status{description: desc}
}

func (s Status) Equal(e Status) bool {
	return s == e
}

func (s Status) IsEmpty() bool {
	return s == Status{}
}
